package com.molichuxing.gateway.bff.financial.services;


import com.molichuxing.framework.dto.Paged;
import com.molichuxing.gateway.bff.financial.entity.request.modify.InvoiceInfoModifyStatusVo;
import com.molichuxing.gateway.bff.financial.entity.response.InvoiceInfoVo;

import java.util.Map;

/**
 * 发票相关bff
 *
 * @author zhaopenghui
 * @date 2019年9月23日
 */
public interface InvoiceBffService {

    /**
     * 发票管理列表
     *
     * @param map
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    public Paged<InvoiceInfoVo> getInvoiceInfoPage(Map<String, Object> map, Integer pageNum, Integer pageSize) throws Exception;

    /**
     * 开票
     *
     * @param invoiceInfoModifyStatusVo
     * @return
     * @throws Exception
     */
    public Boolean modifyInvoiceStatus(InvoiceInfoModifyStatusVo invoiceInfoModifyStatusVo) throws Exception;

    /**
     * 初始化发票数据
     * @return
     */
    public Boolean initInvoiceData() throws Exception;
}
